home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Frank Lloyd Wright Companion
/
The Frank Lloyd Wright Companion.iso
/
fullmacapps
/
macfllwc_small.sit
/
MacFLLWC_Small
/
flw.mvb.rsrc
/
CDEF_131_Incrementer CDEF.txt
< prev
next >
Wrap
Text File
|
1995-09-30
|
35KB
|
634 lines
start:
00000000 4E56 FFCA link A6, -0x0036
00000004 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000000A 57C0 seq D0
0000000C 4400 neg.b D0
0000000E 4880 ext.w D0
00000010 3D40 FFD0 move.w [A6 - 0x30], D0
00000014 6052 bra +0x54 /* 00000068 */
00000016 7631 moveq.l D3, 0x31
00000018 2E31 2049 move.l D7, [A1 + D2.w + 0x49]
0000001C 6E63 bgt +0x65 /* 00000081 */
0000001E 7265 moveq.l D1, 0x65
00000020 6D65 blt +0x67 /* 00000087 */
00000022 6E74 bgt +0x76 /* 00000098 */
00000024 6572 bcs +0x74 /* 00000098 */
00000026 2043 movea.l A0, D3
00000028 4445 neg.w D5
0000002A 4620 not.b -[A0]
0000002C 6279 bhi +0x7B /* 000000A7 */
0000002E 204A movea.l A0, A2
00000030 6F72 ble +0x74 /* 000000A4 */
00000032 6461 bcc +0x63 /* 00000095 */
00000034 6E20 bgt +0x22 /* 00000056 */
00000036 5A69 6D6D addq.w [A1 + 0x6D6D], 5
0000003A 6572 bcs +0x74 /* 000000AE */
0000003C 6D61 blt +0x63 /* 0000009F */
0000003E 6E20 bgt +0x22 /* 00000060 */
00000040 2863 movea.l A4, -[A3]
00000042 2920 move.l -[A4], -[A0]
00000044 3139 3934 202D move.w -[A0], [0x3934202D]
0000004A 2041 movea.l A0, D1
0000004C 6C6C bge +0x6E /* 000000BA */
0000004E 2072 6967 movea.l A0, <<invalid full ext with IS == 1 and I/IS == 7>>
00000052 6874 bvc +0x76 /* 000000C8 */
00000054 7320 moveq.l D1, 0x20
label00000056:
00000056 7265 moveq.l D1, 0x65
00000058 7365 moveq.l D1, 0x65
0000005A 7276 moveq.l D1, 0x76
0000005C 6564 bcs +0x66 /* 000000C2 */
0000005E 2077 6F72 6C64 7769 6465 movea.l A0, [[A7 + 0x6C647769] + 0x6465]
// begin alternate branch 00000060-00000068
label00000060:
00000060 6F72 ble +0x74 /* 000000D4 */
00000062 6C64 bge +0x66 /* 000000C8 */
00000064 7769 moveq.l D3, 0x69
00000066 6465 bcc +0x67 /* 000000CD */
// end alternate branch 00000060-00000068
label00000060: // (misaligned)
label00000068:
00000068 0C6E 000A 000C cmpi.w [A6 + 0xC], 0xA /* '\n' */
0000006E 670C beq +0xE /* 0000007C */
00000070 0C6E 000B 000C cmpi.w [A6 + 0xC], 0xB
00000076 6704 beq +0x6 /* 0000007C */
00000078 7000 moveq.l D0, 0x00
0000007A 6002 bra +0x4 /* 0000007E */
label0000007C:
0000007C 7001 moveq.l D0, 0x01
label0000007E:
0000007E 3040 movea.w A0, D0
00000080 2D48 FFD2 move.l [A6 - 0x2E], A0
00000084 486E FFF4 pea.l [A6 - 0xC]
00000088 A874 syscall GetPort
0000008A 486E FFE2 pea.l [A6 - 0x1E]
0000008E A898 syscall GetPenState
00000090 A89E syscall PenNormal
00000092 206E FFF4 movea.l A0, [A6 - 0xC]
00000096 3D68 0044 FFCE move.w [A6 - 0x32], [A0 + 0x44]
// begin alternate branch 00000098-0000009C
label00000098:
00000098 0044 FFCE ori.w D4, 0xFFCE
// end alternate branch 00000098-0000009C
label00000098: // (misaligned)
0000009C 3D68 004A FFCC move.w [A6 - 0x34], [A0 + 0x4A]
000000A2 7000 moveq.l D0, 0x00
label000000A4:
000000A4 1028 0046 move.b D0, [A0 + 0x46]
000000A8 3D40 FFCA move.w [A6 - 0x36], D0
000000AC 4267 clr.w -[A7]
label000000AE:
000000AE A887 syscall TextFont
000000B0 4267 clr.w -[A7]
000000B2 A88A syscall TextSize
000000B4 4267 clr.w -[A7]
000000B6 A888 syscall TextFace
000000B8 4A6E FFD0 tst.w [A6 - 0x30]
// begin alternate branch 000000BA-000000BC
label000000BA:
000000BA FFD0 .extension 0xFD0 // unimplemented
// end alternate branch 000000BA-000000BC
label000000BA: // (misaligned)
000000BC 6718 beq +0x1A /* 000000D6 */
000000BE 486E FFD6 pea.l [A6 - 0x2A]
label000000C2:
000000C2 AA19 syscall GetForeColor
000000C4 486E FFDC pea.l [A6 - 0x24]
label000000C8:
000000C8 AA1A syscall GetBackColor
000000CA 4878 0021 push.l 0x21 /* '!' */
000000CE A862 syscall ForeColor
000000D0 4878 001E push.l 0x1E
label000000D4:
000000D4 A863 syscall BackColor
label000000D6:
000000D6 302E 000C move.w D0, [A6 + 0xC]
000000DA 0C40 000B cmpi.w D0, 0xB
000000DE 6200 00B8 bhi +0xBA /* 00000198 */
000000E2 43FA 00EE lea.l A1, [PC + 0xEE /* 000001D2, value 0xFF2CFFA0 */]
000000E6 D040 add.w D0, D0
000000E8 D2F1 0000 add.w A1, [A1 + D0.w]
000000EC 4ED1 jmp [A1]
000000EE 206E 000E movea.l A0, [A6 + 0xE]
000000F2 2050 movea.l A0, [A0]
000000F4 70FF moveq.l D0, 0xFFFFFFFF
000000F6 2140 0020 move.l [A0 + 0x20], D0
000000FA 6000 009C bra +0x9E /* 00000198 */
000000FE 4267 clr.w -[A7]
00000100 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000104 A86B syscall LoWord
00000106 3D5F FFFE move.w [A6 - 0x2], [A7]+
0000010A 0C6E 0014 FFFE cmpi.w [A6 - 0x2], 0x14
00000110 6700 0086 beq +0x88 /* 00000198 */
00000114 0C6E 0015 FFFE cmpi.w [A6 - 0x2], 0x15
0000011A 677C beq +0x7E /* 00000198 */
0000011C 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000120 2F2E 000E move.l -[A7], [A6 + 0xE]
00000124 4EBA 00EC jsr [PC + 0xEC /* 00000212 */]
00000128 5C8F addq.l A7, 6
0000012A 606C bra +0x6E /* 00000198 */
0000012C 202E 0008 move.l D0, [A6 + 0x8]
00000130 0280 FF00 0000 andi.l D0, 0xFF000000
00000136 2D40 FFFC move.l [A6 - 0x4], D0
0000013A 222E 0008 move.l D1, [A6 + 0x8]
0000013E 0281 00FF FFFF andi.l D1, 0xFFFFFF
00000144 2D41 0008 move.l [A6 + 0x8], D1
00000148 4A80 tst.l D0
0000014A 661E bne +0x20 /* 0000016A */
0000014C 206E 000E movea.l A0, [A6 + 0xE]
00000150 2050 movea.l A0, [A0]
00000152 2D68 0008 FFF8 move.l [A6 - 0x8], [A0 + 0x8]
00000158 2D68 000C FFFC move.l [A6 - 0x4], [A0 + 0xC]
0000015E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000162 486E FFF8 pea.l [A6 - 0x8]
00000166 A8DF syscall RectRgn
00000168 602E bra +0x30 /* 00000198 */
label0000016A:
0000016A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000016E A8DD syscall SetEmptyRgn
00000170 6026 bra +0x28 /* 00000198 */
00000172 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000176 2F2E 000E move.l -[A7], [A6 + 0xE]
0000017A 4EBA 0328 jsr [PC + 0x328 /* 000004A4 */]
0000017E 508F addq.l A7, 8
00000180 2D40 FFD2 move.l [A6 - 0x2E], D0
00000184 6012 bra +0x14 /* 00000198 */
00000186 4267 clr.w -[A7]
00000188 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000018C A86B syscall LoWord
0000018E 2F2E 000E move.l -[A7], [A6 + 0xE]
00000192 4EBA 0376 jsr [PC + 0x376 /* 0000050A */]
00000196 5C8F addq.l A7, 6
label00000198:
00000198 4A6E FFD0 tst.w [A6 - 0x30]
0000019C 670C beq +0xE /* 000001AA */
0000019E 486E FFD6 pea.l [A6 - 0x2A]
000001A2 AA14 syscall RGBForeColor
000001A4 486E FFDC pea.l [A6 - 0x24]
000001A8 AA15 syscall RGBBackColor
label000001AA:
000001AA 3F2E FFCE move.w -[A7], [A6 - 0x32]
000001AE A887 syscall TextFont
000001B0 3F2E FFCC move.w -[A7], [A6 - 0x34]
000001B4 A88A syscall TextSize
000001B6 3F2E FFCA move.w -[A7], [A6 - 0x36]
000001BA A888 syscall TextFace
000001BC 486E FFE2 pea.l [A6 - 0x1E]
000001C0 A899 syscall SetPenState
000001C2 2D6E FFD2 0014 move.l [A6 + 0x14], [A6 - 0x2E]
000001C8 4E5E unlink A6
000001CA 205F movea.l A0, [A7]+
000001CC 4FEF 000C lea.l A7, [A7 + 0xC]
000001D0 4ED0 jmp [A0]
000001D2 FF2C .extension 0xF2C // unimplemented
000001D4 FFA0 .extension 0xFA0 // unimplemented
000001D6 FF5A .extension 0xF5A // unimplemented
000001D8 FF1C .extension 0xF1C // unimplemented
000001DA FFC6 .extension 0xFC6 // unimplemented
000001DC FFC6 .extension 0xFC6 // unimplemented
000001DE FFC6 .extension 0xFC6 // unimplemented
000001E0 FFC6 .extension 0xFC6 // unimplemented
000001E2 FFB4 .extension 0xFB4 // unimplemented
000001E4 FFC6 .extension 0xFC6 // unimplemented
000001E6 FF7A .extension 0xF7A // unimplemented
000001E8 FF98 .extension 0xF98 // unimplemented
fn000001EA:
000001EA 4E56 FFF8 link A6, -0x0008
000001EE 206E 0008 movea.l A0, [A6 + 0x8]
000001F2 2D50 FFF8 move.l [A6 - 0x8], [A0]
000001F6 2D68 0004 FFFC move.l [A6 - 0x4], [A0 + 0x4]
000001FC 486E FFF8 pea.l [A6 - 0x8]
00000200 2F3C 0001 0001 move.l -[A7], 0x10001
00000206 A8A9 syscall InsetRect
00000208 486E FFF8 pea.l [A6 - 0x8]
0000020C A8A3 syscall EraseRect
0000020E 4E5E unlink A6
00000210 4E75 rts
fn00000212:
00000212 4E56 FFD0 link A6, -0x0030
00000216 48E7 0110 movem.l -[A7], D7,A3
0000021A 206E 0008 movea.l A0, [A6 + 0x8]
0000021E 2650 movea.l A3, [A0]
00000220 3E2B 0012 move.w D7, [A3 + 0x12]
00000224 486E FFD0 pea.l [A6 - 0x30]
00000228 486E FFD8 pea.l [A6 - 0x28]
0000022C 486E FFE0 pea.l [A6 - 0x20]
00000230 486E FFE8 pea.l [A6 - 0x18]
00000234 486E FFF0 pea.l [A6 - 0x10]
00000238 2F0B move.l -[A7], A3
0000023A 4EBA 0146 jsr [PC + 0x146 /* 00000382 */]
0000023E 302E 000C move.w D0, [A6 + 0xC]
00000242 4FEF 0018 lea.l A7, [A7 + 0x18]
00000246 6B24 bmi +0x26 /* 0000026C */
00000248 0440 0015 subi.w D0, 0x15
0000024C 6712 beq +0x14 /* 00000260 */
0000024E 6A1C bpl +0x1E /* 0000026C */
00000250 5240 addq.w D0, 1
00000252 6B18 bmi +0x1A /* 0000026C */
00000254 536E FFEA subq.w [A6 - 0x16], 1
00000258 486E FFE8 pea.l [A6 - 0x18]
0000025C A8A4 syscall InvertRect
0000025E 605E bra +0x60 /* 000002BE */
label00000260:
00000260 536E FFE2 subq.w [A6 - 0x1E], 1
00000264 486E FFE0 pea.l [A6 - 0x20]
00000268 A8A4 syscall InvertRect
0000026A 6052 bra +0x54 /* 000002BE */
label0000026C:
0000026C 486E FFF0 pea.l [A6 - 0x10]
00000270 3F07 move.w -[A7], D7
00000272 4EBA 0096 jsr [PC + 0x96 /* 0000030A */]
00000276 486E FFD8 pea.l [A6 - 0x28]
0000027A 4EBA FF6E jsr [PC - 0x92 /* 000001EA */]
0000027E 486E FFD0 pea.l [A6 - 0x30]
00000282 4EBA FF66 jsr [PC - 0x9A /* 000001EA */]
00000286 206E 0008 movea.l A0, [A6 + 0x8]
0000028A 2050 movea.l A0, [A0]
0000028C 4A28 0011 tst.b [A0 + 0x11]
00000290 4FEF 000E lea.l A7, [A7 + 0xE]
00000294 661C bne +0x1E /* 000002B2 */
00000296 2F3C 0001 0000 move.l -[A7], 0x10000
0000029C 486E FFE8 pea.l [A6 - 0x18]
000002A0 4EBA 0024 jsr [PC + 0x24 /* 000002C6 */]
000002A4 4297 clr.l [A7]
000002A6 486E FFE0 pea.l [A6 - 0x20]
000002AA 4EBA 001A jsr [PC + 0x1A /* 000002C6 */]
000002AE 4FEF 000C lea.l A7, [A7 + 0xC]
label000002B2:
000002B2 486E FFD8 pea.l [A6 - 0x28]
000002B6 A8A1 syscall FrameRect
000002B8 486E FFD0 pea.l [A6 - 0x30]
000002BC A8A1 syscall FrameRect
label000002BE:
000002BE 4CDF 0880 movem.l D7,A3, [A7]+
000002C2 4E5E unlink A6
000002C4 4E75 rts
fn000002C6:
000002C6 4E56 FFF2 link A6, -0x000E
000002CA 3D7C 0001 FFF6 move.w [A6 - 0xA], 0x1
000002D0 206E 0008 movea.l A0, [A6 + 0x8]
000002D4 2D50 FFF8 move.l [A6 - 0x8], [A0]
000002D8 2D68 0004 FFFC move.l [A6 - 0x4], [A0 + 0x4]
000002DE 4A6E 000C tst.w [A6 + 0xC]
000002E2 6706 beq +0x8 /* 000002EA */
000002E4 4EBA 017E jsr [PC + 0x17E /* 00000464 */]
000002E8 6004 bra +0x6 /* 000002EE */
label000002EA:
000002EA 4EBA 0198 jsr [PC + 0x198 /* 00000484 */]
label000002EE:
000002EE 2D40 FFF2 move.l [A6 - 0xE], D0
000002F2 486E FFF2 pea.l [A6 - 0xE]
000002F6 486E FFF8 pea.l [A6 - 0x8]
000002FA 486E FFF8 pea.l [A6 - 0x8]
000002FE 3F2E 000E move.w -[A7], [A6 + 0xE]
00000302 42A7 clr.l -[A7]
00000304 A8EB syscall StdBits
00000306 4E5E unlink A6
00000308 4E75 rts
fn0000030A:
0000030A 4E56 FEF8 link A6, -0x0108
0000030E 48E7 0710 movem.l -[A7], D5,D6,D7,A3
00000312 266E 000A movea.l A3, [A6 + 0xA]
00000316 306E 0008 movea.w A0, [A6 + 0x8]
0000031A 2F08 move.l -[A7], A0
0000031C 486E FF00 pea.l [A6 - 0x100]
00000320 4EBA 0346 jsr [PC + 0x346 /* 00000668 */]
00000324 486E FEF8 pea.l [A6 - 0x108]
00000328 A88B syscall GetFontInfo
0000032A 3E2E FEFA move.w D7, [A6 - 0x106]
0000032E DE6E FEF8 add.w D7, [A6 - 0x108]
00000332 3C13 move.w D6, [A3]
00000334 302B 0004 move.w D0, [A3 + 0x4]
00000338 9046 sub.w D0, D6
0000033A 48C0 ext.l D0
0000033C 81FC 0002 divs.w D0, 0x2
00000340 D046 add.w D0, D6
00000342 3A00 move.w D5, D0
00000344 2F0B move.l -[A7], A3
00000346 4EBA FEA2 jsr [PC - 0x15E /* 000001EA */]
0000034A 4257 clr.w [A7]
0000034C 486E FF00 pea.l [A6 - 0x100]
00000350 A88C syscall StringWidth
00000352 302B 0006 move.w D0, [A3 + 0x6]
00000356 905F sub.w D0, [A7]+
00000358 5740 subq.w D0, 3
0000035A 3E80 move.w [A7], D0
0000035C 2007 move.l D0, D7
0000035E 48C0 ext.l D0
00000360 81FC 0002 divs.w D0, 0x2
00000364 3205 move.w D1, D5
00000366 9240 sub.w D1, D0
00000368 D26E FEF8 add.w D1, [A6 - 0x108]
0000036C 3F01 move.w -[A7], D1
0000036E A893 syscall MoveTo
00000370 486E FF00 pea.l [A6 - 0x100]
00000374 A884 syscall DrawString
00000376 2F0B move.l -[A7], A3
00000378 A8A1 syscall FrameRect
0000037A 4CDF 08E0 movem.l D5,D6,D7,A3, [A7]+
0000037E 4E5E unlink A6
00000380 4E75 rts
fn00000382:
00000382 4E56 FFFC link A6, -0x0004
00000386 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
0000038A 246E 0008 movea.l A2, [A6 + 0x8]
0000038E 2E2E 000C move.l D7, [A6 + 0xC]
00000392 262E 0010 move.l D3, [A6 + 0x10]
00000396 282E 0014 move.l D4, [A6 + 0x14]
0000039A 2A2E 0018 move.l D5, [A6 + 0x18]
0000039E 2047 movea.l A0, D7
000003A0 316A 000A 0002 move.w [A0 + 0x2], [A2 + 0xA]
000003A6 47EA 000E lea.l A3, [A2 + 0xE]
000003AA 70F6 moveq.l D0, 0xFFFFFFF6
000003AC D053 add.w D0, [A3]
000003AE 2047 movea.l A0, D7
000003B0 3140 0006 move.w [A0 + 0x6], D0
000003B4 2047 movea.l A0, D7
000003B6 30AA 0008 move.w [A0], [A2 + 0x8]
000003BA 7C0C moveq.l D6, 0x0C
000003BC DC8A add.l D6, A2
000003BE 2046 movea.l A0, D6
000003C0 2247 movea.l A1, D7
000003C2 3350 0004 move.w [A1 + 0x4], [A0]
000003C6 2047 movea.l A0, D7
000003C8 70FF moveq.l D0, 0xFFFFFFFF
000003CA D068 0006 add.w D0, [A0 + 0x6]
000003CE 206E 001C movea.l A0, [A6 + 0x1C]
000003D2 3140 0002 move.w [A0 + 0x2], D0
000003D6 2245 movea.l A1, D5
000003D8 3340 0002 move.w [A1 + 0x2], D0
000003DC 3013 move.w D0, [A3]
000003DE 3140 0006 move.w [A0 + 0x6], D0
000003E2 2245 movea.l A1, D5
000003E4 3340 0006 move.w [A1 + 0x6], D0
000003E8 2245 movea.l A1, D5
000003EA 32AA 0008 move.w [A1], [A2 + 0x8]
000003EE 700A moveq.l D0, 0x0A
000003F0 D06A 0008 add.w D0, [A2 + 0x8]
000003F4 2245 movea.l A1, D5
000003F6 3340 0004 move.w [A1 + 0x4], D0
000003FA 2245 movea.l A1, D5
000003FC 70FF moveq.l D0, 0xFFFFFFFF
000003FE D069 0004 add.w D0, [A1 + 0x4]
00000402 3080 move.w [A0], D0
00000404 2246 movea.l A1, D6
00000406 3151 0004 move.w [A0 + 0x4], [A1]
0000040A 70F7 moveq.l D0, 0xFFFFFFF7
0000040C D053 add.w D0, [A3]
0000040E 2244 movea.l A1, D4
00000410 3340 0002 move.w [A1 + 0x2], D0
00000414 2243 movea.l A1, D3
00000416 3340 0002 move.w [A1 + 0x2], D0
0000041A 2243 movea.l A1, D3
0000041C 7008 moveq.l D0, 0x08
0000041E D069 0002 add.w D0, [A1 + 0x2]
00000422 2244 movea.l A1, D4
00000424 3340 0006 move.w [A1 + 0x6], D0
00000428 2243 movea.l A1, D3
0000042A 3340 0006 move.w [A1 + 0x6], D0
0000042E 7001 moveq.l D0, 0x01
00000430 D06A 0008 add.w D0, [A2 + 0x8]
00000434 2243 movea.l A1, D3
00000436 3280 move.w [A1], D0
00000438 2243 movea.l A1, D3
0000043A 7008 moveq.l D0, 0x08
0000043C D051 add.w D0, [A1]
0000043E 2243 movea.l A1, D3
00000440 3340 0004 move.w [A1 + 0x4], D0
00000444 2246 movea.l A1, D6
00000446 70FF moveq.l D0, 0xFFFFFFFF
00000448 D051 add.w D0, [A1]
0000044A 2244 movea.l A1, D4
0000044C 3340 0004 move.w [A1 + 0x4], D0
00000450 2244 movea.l A1, D4
00000452 70F8 moveq.l D0, 0xFFFFFFF8
00000454 D069 0004 add.w D0, [A1 + 0x4]
00000458 2244 movea.l A1, D4
0000045A 3280 move.w [A1], D0
0000045C 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000460 4E5E unlink A6
00000462 4E75 rts
fn00000464:
00000464 4E56 FFFC link A6, -0x0004
00000468 41EE FFFC lea.l A0, [A6 - 0x4]
0000046C 43FA 0006 lea.l A1, [PC + 0x6 /* 00000474, value 0x10387C */]
00000470 2089 move.l [A0], A1
00000472 6008 bra +0xA /* 0000047C */
00000474 0010 387C ori.b [A0], 0x7C /* '|' */
00000478 FE38 .extension 0xE38 // unimplemented
0000047A 3800 move.w D4, D0
label0000047C:
0000047C 202E FFFC move.l D0, [A6 - 0x4]
00000480 4E5E unlink A6
00000482 4E75 rts
fn00000484:
00000484 4E56 FFFC link A6, -0x0004
00000488 41EE FFFC lea.l A0, [A6 - 0x4]
0000048C 43FA 0006 lea.l A1, [PC + 0x6 /* 00000494, value 0x3838FE */]
00000490 2089 move.l [A0], A1
00000492 6008 bra +0xA /* 0000049C */
00000494 0038 38FE 7C38 ori.b [0x00007C38], 0xFE
0000049A 1000 move.b D0, D0
label0000049C:
0000049C 202E FFFC move.l D0, [A6 - 0x4]
000004A0 4E5E unlink A6
000004A2 4E75 rts
fn000004A4:
000004A4 4E56 FFD8 link A6, -0x0028
000004A8 206E 0008 movea.l A0, [A6 + 0x8]
000004AC 2050 movea.l A0, [A0]
000004AE 0C28 00FF 0011 cmpi.b [A0 + 0x11], 0xFF
000004B4 6604 bne +0x6 /* 000004BA */
000004B6 7000 moveq.l D0, 0x00
000004B8 604C bra +0x4E /* 00000506 */
label000004BA:
000004BA 486E FFD8 pea.l [A6 - 0x28]
000004BE 486E FFE0 pea.l [A6 - 0x20]
000004C2 486E FFE8 pea.l [A6 - 0x18]
000004C6 486E FFF0 pea.l [A6 - 0x10]
000004CA 486E FFF8 pea.l [A6 - 0x8]
000004CE 206E 0008 movea.l A0, [A6 + 0x8]
000004D2 2F10 move.l -[A7], [A0]
000004D4 4EBA FEAC jsr [PC - 0x154 /* 00000382 */]
000004D8 4217 clr.b [A7]
000004DA 2F2E 000C move.l -[A7], [A6 + 0xC]
000004DE 486E FFE0 pea.l [A6 - 0x20]
000004E2 A8AD syscall PtInRect
000004E4 4A1F tst.b [A7]+
000004E6 4FEF 0016 lea.l A7, [A7 + 0x16]
000004EA 6704 beq +0x6 /* 000004F0 */
000004EC 7014 moveq.l D0, 0x14
000004EE 6016 bra +0x18 /* 00000506 */
label000004F0:
000004F0 4227 clr.b -[A7]
000004F2 2F2E 000C move.l -[A7], [A6 + 0xC]
000004F6 486E FFD8 pea.l [A6 - 0x28]
000004FA A8AD syscall PtInRect
000004FC 4A1F tst.b [A7]+
000004FE 6704 beq +0x6 /* 00000504 */
00000500 7015 moveq.l D0, 0x15
00000502 6002 bra +0x4 /* 00000506 */
label00000504:
00000504 7000 moveq.l D0, 0x00
label00000506:
00000506 4E5E unlink A6
00000508 4E75 rts
fn0000050A:
0000050A 4E56 FFCC link A6, -0x0034
0000050E 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00000512 266E 0008 movea.l A3, [A6 + 0x8]
00000516 3E2E 000C move.w D7, [A6 + 0xC]
0000051A 42A7 clr.l -[A7]
0000051C A975 syscall TickCount
0000051E 70D8 moveq.l D0, 0xFFFFFFD8
00000520 D09F add.l D0, [A7]+
00000522 2D40 FFCC move.l [A6 - 0x34], D0
00000526 7C14 moveq.l D6, 0x14
00000528 426E FFD0 clr.w [A6 - 0x30]
0000052C 3A07 move.w D5, D7
0000052E 3D7C 0005 FFD2 move.w [A6 - 0x2E], 0x5
00000534 4A47 tst.w D7
00000536 6700 0128 beq +0x12A /* 00000660 */
0000053A 3F05 move.w -[A7], D5
0000053C 2F0B move.l -[A7], A3
0000053E 4EBA FCD2 jsr [PC - 0x32E /* 00000212 */]
00000542 486E FFD4 pea.l [A6 - 0x2C]
00000546 486E FFDC pea.l [A6 - 0x24]
0000054A 486E FFE4 pea.l [A6 - 0x1C]
0000054E 486E FFEC pea.l [A6 - 0x14]
00000552 486E FFF4 pea.l [A6 - 0xC]
00000556 2F13 move.l -[A7], [A3]
00000558 4EBA FE28 jsr [PC - 0x1D8 /* 00000382 */]
0000055C 4FEF 001E lea.l A7, [A7 + 0x1E]
label00000560:
00000560 2453 movea.l A2, [A3]
00000562 3007 move.w D0, D7
00000564 6B0C bmi +0xE /* 00000572 */
00000566 0440 0015 subi.w D0, 0x15
0000056A 670E beq +0x10 /* 0000057A */
0000056C 6A04 bpl +0x6 /* 00000572 */
0000056E 5240 addq.w D0, 1
00000570 6A04 bpl +0x6 /* 00000576 */
label00000572:
00000572 7800 moveq.l D4, 0x00
00000574 6006 bra +0x8 /* 0000057C */
label00000576:
00000576 7801 moveq.l D4, 0x01
00000578 6002 bra +0x4 /* 0000057C */
label0000057A:
0000057A 78FF moveq.l D4, 0xFFFFFFFF
label0000057C:
0000057C 4A44 tst.w D4
0000057E 676C beq +0x6E /* 000005EC */
00000580 42A7 clr.l -[A7]
00000582 A975 syscall TickCount
00000584 201F move.l D0, [A7]+
00000586 90AE FFCC sub.l D0, [A6 - 0x34]
0000058A 3046 movea.w A0, D6
0000058C B1C0 cmpa.l A0, D0
0000058E 645C bcc +0x5E /* 000005EC */
00000590 42A7 clr.l -[A7]
00000592 A975 syscall TickCount
00000594 2D5F FFCC move.l [A6 - 0x34], [A7]+
00000598 526E FFD0 addq.w [A6 - 0x30], 1
0000059C 302E FFD0 move.w D0, [A6 - 0x30]
000005A0 B06E FFD2 cmp.w D0, [A6 - 0x2E]
000005A4 6F22 ble +0x24 /* 000005C8 */
000005A6 426E FFD0 clr.w [A6 - 0x30]
000005AA 3006 move.w D0, D6
000005AC 6B1A bmi +0x1C /* 000005C8 */
000005AE 0440 0014 subi.w D0, 0x14
000005B2 670A beq +0xC /* 000005BE */
000005B4 6A12 bpl +0x14 /* 000005C8 */
000005B6 0440 FFF4 subi.w D0, 0xFFF4
000005BA 670A beq +0xC /* 000005C6 */
000005BC 600A bra +0xC /* 000005C8 */
label000005BE:
000005BE 7C08 moveq.l D6, 0x08
000005C0 E3EE FFD2 lsl .w [A6 - 0x2E]
000005C4 6002 bra +0x4 /* 000005C8 */
label000005C6:
000005C6 7C03 moveq.l D6, 0x03
label000005C8:
000005C8 362A 0012 move.w D3, [A2 + 0x12]
000005CC D644 add.w D3, D4
000005CE B66A 0014 cmp.w D3, [A2 + 0x14]
000005D2 6D18 blt +0x1A /* 000005EC */
000005D4 B66A 0016 cmp.w D3, [A2 + 0x16]
000005D8 6E12 bgt +0x14 /* 000005EC */
000005DA D96A 0012 add.w [A2 + 0x12], D4
000005DE 486E FFF4 pea.l [A6 - 0xC]
000005E2 3F2A 0012 move.w -[A7], [A2 + 0x12]
000005E6 4EBA FD22 jsr [PC - 0x2DE /* 0000030A */]
000005EA 5C8F addq.l A7, 6
label000005EC:
000005EC 486E FFFC pea.l [A6 - 0x4]
000005F0 A972 syscall GetMouse
000005F2 3005 move.w D0, D5
000005F4 6B40 bmi +0x42 /* 00000636 */
000005F6 0440 0015 subi.w D0, 0x15
000005FA 6720 beq +0x22 /* 0000061C */
000005FC 6A38 bpl +0x3A /* 00000636 */
000005FE 5240 addq.w D0, 1
00000600 6B34 bmi +0x36 /* 00000636 */
00000602 4227 clr.b -[A7]
00000604 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000608 486E FFDC pea.l [A6 - 0x24]
0000060C A8AD syscall PtInRect
0000060E 4A1F tst.b [A7]+
00000610 6704 beq +0x6 /* 00000616 */
00000612 7014 moveq.l D0, 0x14
00000614 6002 bra +0x4 /* 00000618 */
label00000616:
00000616 7000 moveq.l D0, 0x00
label00000618:
00000618 3600 move.w D3, D0
0000061A 601C bra +0x1E /* 00000638 */
label0000061C:
0000061C 4227 clr.b -[A7]
0000061E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000622 486E FFD4 pea.l [A6 - 0x2C]
00000626 A8AD syscall PtInRect
00000628 4A1F tst.b [A7]+
0000062A 6704 beq +0x6 /* 00000630 */
0000062C 7015 moveq.l D0, 0x15
0000062E 6002 bra +0x4 /* 00000632 */
label00000630:
00000630 7000 moveq.l D0, 0x00
label00000632:
00000632 3600 move.w D3, D0
00000634 6002 bra +0x4 /* 00000638 */
label00000636:
00000636 7600 moveq.l D3, 0x00
label00000638:
00000638 BE43 cmp.w D7, D3
0000063A 670C beq +0xE /* 00000648 */
0000063C 3F05 move.w -[A7], D5
0000063E 2F0B move.l -[A7], A3
00000640 4EBA FBD0 jsr [PC - 0x430 /* 00000212 */]
00000644 3E03 move.w D7, D3
00000646 5C8F addq.l A7, 6
label00000648:
00000648 4227 clr.b -[A7]
0000064A A973 syscall StillDown
0000064C 4A1F tst.b [A7]+
0000064E 6600 FF10 bne -0xEE /* 00000560 */
00000652 4A47 tst.w D7
00000654 670A beq +0xC /* 00000660 */
00000656 3F05 move.w -[A7], D5
00000658 2F0B move.l -[A7], A3
0000065A 4EBA FBB6 jsr [PC - 0x44A /* 00000212 */]
0000065E 5C8F addq.l A7, 6
label00000660:
00000660 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
00000664 4E5E unlink A6
00000666 4E75 rts
fn00000668:
00000668 206F 0004 movea.l A0, [A7 + 0x4]
0000066C 202F 0008 move.l D0, [A7 + 0x8]
00000670 4267 clr.w -[A7]
00000672 A9EE syscall Pack7/DecStr68K
00000674 205F movea.l A0, [A7]+
00000676 504F addq.w A7, 8
00000678 4ED0 jmp [A0]